package com.yinxin.logtest;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

/**
 * @author yinxin
 * @Title:
 * @Package
 * @Description:
 * @date 2022/1/611:35
 */
public class test1 {
    public static void main(String[] args) {
//        String jobBean="{\"args\":[\"{\\\"outpath\\\":\\\"/root/_job/cleanFile\\\",\\\"coloume\\\":[\\\"column0\\\"],\\\"sourceFile\\\":\\\"/root/_job/sourceFile/original2111.csv\\\",\\\"sep\\\":\\\",\\\"}\"],\"backoffLimit\":0,\"command\":\"/root/_job/deleteNullValue.sh\",\"cpuSize\":1,\"gpuSize\":1,\"imageUrl\":\"192.168.59.27:10443/graph/jdkpython:1.0.5\",\"jobName\":\"job-9075c11c-ac2b-4256-8813-232722fcfaf4\",\"label\":{\"jobName\":\"job-9075c11c-ac2b-4256-8813-232722fcfaf4\"},\"memorySize\":1024,\"namespace\":\"gnn-2\",\"parallelism\":1,\"useGpu\":false,\"volumes\":[{\"mountPath\":\"/root/_job\",\"name\":\"default\",\"nfsPath\":\"/data/nfs/graph/originaldata/119df6cc-656d-4aa0-85b4-b1a21bfe3dad/job/9075c11c-ac2b-4256-8813-232722fcfaf4\",\"nfsServer\":\"192.168.52.231\"}]}";
//        JSONObject jsonObject = JSON.parseObject(jobBean);
//        System.out.println(jsonObject);
        for (int i = 0; i < 10000; i++) {
            Double randomd = Math.random()*1000;
            System.out.println(randomd);
            Integer randomi = Integer.valueOf(randomd.intValue());
            System.out.println(randomi);
        }
    }
}
